<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="${pageContext.request.contextPath}/static/icon/tuteng.ico" media="screen" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/blog.css">
<script src="${pageContext.request.contextPath}/static/bootstrap/js/jquery-3.2.1.min.js"></script>
<script src="${pageContext.request.contextPath}/static/bootstrap/js/bootstrap.min.js"></script>
<title>博客--java虐我千百遍，我待java如初恋</title>
<style type="text/css">
	.body-info{
		margin-top:51px;
	}
	.navbar-nav>li:hover { 
        background-color:#CDCDC1;
      }
      #footer{
      	position: absolute;
		bottom: 0;
      	height:50px;
      	width:100%;
      	background-color:#CDCDC1;
      }
</style>
</head>
<body>
	<!-- 导航条 -->
    <nav class="navbar navbar-default navbar-fixed-top navbar-right" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#"><!-- <img src="" class="img-responsive img-thumbnail" alt=""> -->姜飞祥的微博</a>
	          <!-- <form class="navbar-form navbar-right" action="" role="search">
	            <div class="form-group">
	                <input type="text" class="form-control" placeholder="输入要查询的内容">
	            </div>
	            <button type="submit" class="btn btn-default">确定</button>
	          </form> -->
	        </div>
	        <div id="navbar" class="navbar-collapse collapse">
	         <!--  <form class="navbar-form navbar-right">
	            <div class="form-group">
	              <input type="text" placeholder="Email" class="form-control">
	            </div>
	            <div class="form-group">
	              <input type="password" placeholder="Password" class="form-control">
	            </div>
	            <button type="submit" class="btn btn-success">Sign in</button>
	          </form> -->
	          <!-- 导航栏 -->
	          <ul class="nav navbar-nav navbar-right">
	            <li><a href="${pageContext.request.contextPath }/index.jsp">首页</a></li>
		        <li><a href="${pageContext.request.contextPath }/findAllBlog.do">我的博客</a></li>
		        <li><a href="http://www.cnblogs.com/smfx1314/p/smfx1314.html" target="_blank">我的博客园</a></li>
		        <li><a href="https://github.com/smfx1314" target="_blank">我的GitHub</a></li>
		       
	            <!--下拉菜单-->
	            <li class="dropdown">
	              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">更多 <span class="caret"></span></a>
	              <ul class="dropdown-menu ">
	                <li><a href="http://www.csdn.net/" target="_blank">CSDN</a></li>
	                <li><a href="https://www.zhihu.com" target="_blank">知乎</a></li>
	                <li><a href="http://www.runoob.com/" target="_blank">菜鸟教程</a></li>
	              </ul>
	            </li>
	             <li><a href="${pageContext.request.contextPath}/user/loginPage.do" target="_blank">登录</a></li>
	          </ul>
	        </div>
	      </div>
	    </nav>
	<!-- 轮播banner -->
    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
      <!-- Indicators -->
      <ol class="carousel-indicators">
        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
      </ol>

      <!-- 图片 -->
      <div class="carousel-inner" role="listbox">
        <div class="item active">
          <img src="static/images/2.jpg" alt="...">
          <div class="carousel-caption">
            ...
          </div>
        </div>
        <div class="item">
          <img src="static/images/1.jpg" alt="...">
          <div class="carousel-caption">
            ...
          </div>
        </div>
      </div>

	  	<!-- 左右箭头 -->
	    <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
	      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
	      <span class="sr-only">Previous</span>
	    </a>
	    <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
	      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
	      <span class="sr-only">Next</span>
	    </a>
  </div>
		
		<!--底部导航-->
		<hr>
		    <footer id="footer" class="bs-docs-footer">
		        <ul class="nav navbar-nav navbar-right">
		          <li><a href="https://github.com/twbs/bootstrap">GitHub 仓库</a></li>
		          <li><a href="../getting-started/#examples">实例</a></li>
		          <li><a href="http://www.youzhan.org">优站精选</a></li>
		          <li><a href="../about/">关于</a></li>
		        </ul>
		        <p>版权所有</p>
		    </footer>  
	</div>
</body>
</html>
